//
//  AddressContact.m
//  OC5_数组课后作业网上答案
//
//  Created by dllo on 15/10/28.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "AddressContact.h"

@implementation AddressContact


- (id)initWithName:(NSString *)name sex:(NSString *)sex phoneNum:(NSString *)phoneNum address:(NSString *)address groupName:(NSString *)groupName
{
    self = [super init];
    if (self) {
        _name = name;
        _sex = sex;
        _phoneNum = phoneNum;
        _address = address;
        _groupName = groupName;
    }
    return self;
}
- (void)information
{
    NSLog(@"%@ %@ %@ %@ %@",_name,_sex,_phoneNum,_address,_groupName);
    
}



@end
